﻿CREATE TABLE [dbo].[Messages] (
    [MessageID]      INT            IDENTITY (1, 1) NOT NULL,
    [MessageText]    NVARCHAR (MAX) NOT NULL,
    [SentUserID]     INT            NOT NULL,
    [RecievedUserID] INT            NOT NULL,
    [DateTimeStamp]  DATETIME       NOT NULL,
    [ReplyMessageID] INT            NULL,
    [MessageRead]    BIT            NULL,
    [MessageDeleted] BIT            NULL
);

